#!/bin/bash
i_dir=$1
if [ -z "$i_dir" ]; then
	echo "Usage:~/install <install dir>"
	exit
fi
echo "installing dnsdynamic,install dir:"$i_dir
s_dir=$i_dir/dnsdynamic
mkdir $s_dir
pl_dir=`dirname ${0}`
cp $pl_dir/dnsdynamic $s_dir
cp $pl_dir/dnsdynamic.pl $s_dir
cp $pl_dir/StartupParameters.plist $s_dir
echo "install completed"
exit
 